package com.itcast.jobs;

import com.alibaba.dubbo.config.annotation.Reference;
import com.itcast.health.constant.DateUtils;
import com.itcast.service.CleanOrderSettingService;

public class CleanOrderSettingJob {
    @Reference
    private CleanOrderSettingService cleanOrderSettingService;

    public void CleanOrdersetting () throws Exception {
        //清理当天的日期
        String today = DateUtils.parseDate2String(DateUtils.getToday());
        cleanOrderSettingService.CleanOrdersetting(today);
    }
}
